package Day11Zuoye;

public class People {

   public Function control(){
       Control control=new Control();
       control.setColor("黄色");
       control.setRange(12);
       control.setHeavy(5);
       TV tv=new TV();
       tv.setColor("紫色");
       tv.setPrice(14444);
       tv.setSize(40);
       control.show();
       tv.show();
       control.start();
       tv.start();
       control.change();
       tv.change();
       control.close();
       tv.close();
       return null;
   }

}
